package org.celery.modules.merchant.service;

import org.celery.modules.merchant.entity.MerchantDesk;
import org.celery.modules.merchant.vo.MerchantDeskVO;
import org.springblade.core.mp.base.BaseService;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * 商户桌台表. 服务类
 *
 * @author Celery
 * @since 2021-11-07
 */
public interface IMerchantDeskService extends BaseService<MerchantDesk> {

	/**
	 * 自定义分页
	 *
	 * @param page
	 * @param merchantDesk
	 * @return
	 */
	IPage<MerchantDeskVO> selectMerchantDeskPage(IPage<MerchantDeskVO> page, MerchantDeskVO merchantDesk);

	/**
	 * 获取类别名
	 * @param deskCategoryIds 桌台类别id
	 * @return List<String>
	 */
	List<String> getDeskCategoryName(String deskCategoryIds);
}
